package com.dream.oproject.demo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.dream.oproject.base.service.impl.BaseService;
import com.dream.oproject.demo.dao.IDemoInfoDao;
import com.dream.oproject.demo.dao.impl.DemoInfoDao;
import com.dream.oproject.demo.model.DemoInfo;
import com.dream.oproject.demo.service.IDemoInfoService;

/**
 * @author Administrator
 * @date 2011-9-11
 */
@Service
public class DemoInfoService extends BaseService<DemoInfo,Long> implements IDemoInfoService {

	private IDemoInfoDao demoInfoDao;
	
	public IDemoInfoDao getDemoInfoDao() {
		return demoInfoDao;
	}

	@Autowired
	@Qualifier("demoInfoDao")
	public void setDemoInfoDao(IDemoInfoDao demoInfoDao) {
		this.demoInfoDao = demoInfoDao;
		super.setBaseDao(demoInfoDao);
	}
	
	
}
